package UnmutableRealize;

public class UnMutablePoint {
	private final double x,y;
	public UnMutablePoint(double x, double y){
		this.x=x;
		this.y=y;
	}
	public UnMutablePoint getPoint(){
		return new UnMutablePoint(this.x, this.y);
	}
}
